package com.org.cys.service.${package};

import com.org.cys.pojo.base.Page;
import com.org.cys.util.PageData;
import java.util.List;

/**
 *  ${entityComment} Service接口
 *	@author caiyushen
 */
 
public interface ${entityName}Service{
	
	/**
	 * 装载${entityName}
	 * @param PageData
	 * @return
	 * @throws Exception 
	 * */
	 PageData getEntityById(PageData pd) throws Exception;
	
	/**
	 * 保存${entityName}
	 * @param PageData
	 * @throws Exception
	 * */
	 void save(PageData pd) throws Exception;
	
	/**
	  * 批量保存${entityName}
	  * @param PageData
	  * @throws Exception
	  * */
	 void saveBatch(List<PageData> pdList) throws Exception;
	
	
	/**
	 * 更新${entityName}
	 * @param PageData
	 * @throws Exception
	 * */
	 void update(PageData pd) throws Exception;
	
    
	/**
	 * 删除${entityName}
	 * @param PageData
	 * @throws Exception
	 * */
	 void delete(PageData pd) throws Exception;
	
	/**
	 * ${entityName}列表
	 * @param PageData
	 * @throws Exception
	 * */
	 List<PageData> dataList(Page page) throws Exception;
	
	/**
	 * 获取所有${entityName}数据
	 * @param PageData
	 * @throws Exception
	 * */
	 List<PageData> listAll(PageData pd) throws Exception;
	
	/**
	 * 批量删除${entityName}
	 * @param ArrayDATA_IDS[]
	 * @throws Exception
	 * */
	 void deleteAll(String[] ArrayDATA_IDS)throws Exception;
	
}
 



